package stragegy

import (
	"codehub-g.huawei.com/videocloud/mediaprocesscenter/application-gateway/pkg/redisserver"
)

func Pick(fleetID string) (string, error) {
	processId, err := redisserver.PickProcessFromRedis(fleetID)
	if err != nil {
		return "", err
	}
	return processId, nil
}
